<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>收货人信息表单</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', Arial, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .container {
            width: 100%;
            max-width: 600px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: white;
            padding: 25px 30px;
            text-align: center;
        }
        
        .header h1 {
            font-size: 24px;
            margin-bottom: 5px;
            letter-spacing: 1px;
        }
        
        .header p {
            font-size: 14px;
            opacity: 0.9;
        }
        
        .form-container {
            padding: 30px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2c3e50;
            font-size: 15px;
        }
        
        input[type="text"],
        input[type="tel"] {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e1e5eb;
            border-radius: 6px;
            font-size: 15px;
            transition: all 0.3s ease;
            outline: none;
        }
        
        input[type="text"]:focus,
        input[type="tel"]:focus {
            border-color: #e74c3c;
            box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
        }
        
        .address-group {
            display: flex;
            gap: 15px;
        }
        
        .region {
            flex: 1;
        }
        
        .detail-address {
            flex: 2;
        }
        
        .radio-group {
            margin: 20px 0;
        }
        
        .radio-title {
            display: block;
            margin-bottom: 12px;
            font-weight: 600;
            color: #2c3e50;
            font-size: 15px;
        }
        
        .radio-options {
            display: flex;
            gap: 20px;
        }
        
        .radio-option {
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        
        .radio-option input[type="radio"] {
            display: none;
        }
        
        .radio-custom {
            width: 18px;
            height: 18px;
            border: 2px solid #e1e5eb;
            border-radius: 50%;
            margin-right: 8px;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .radio-option input[type="radio"]:checked + .radio-custom {
            border-color: #e74c3c;
        }
        
        .radio-option input[type="radio"]:checked + .radio-custom::after {
            content: '';
            width: 10px;
            height: 10px;
            background: #e74c3c;
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .radio-label {
            color: #495057;
            font-size: 15px;
        }
        
        .checkbox-group {
            display: flex;
            align-items: center;
            margin: 25px 0 30px;
        }
        
        .checkbox-option {
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        
        .checkbox-option input[type="checkbox"] {
            display: none;
        }
        
        .checkbox-custom {
            width: 18px;
            height: 18px;
            border: 2px solid #e1e5eb;
            border-radius: 4px;
            margin-right: 10px;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
            border-color: #e74c3c;
            background-color: #e74c3c;
        }
        
        .checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
            content: '✓';
            color: white;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 12px;
            font-weight: bold;
        }
        
        .checkbox-label {
            color: #495057;
            font-size: 15px;
        }
        
        .submit-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 1px;
        }
        
        .submit-btn:hover {
            background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
        }
        
        .footer {
            padding: 15px 30px;
            text-align: center;
            background-color: #f8f9fa;
            color: #6c757d;
            font-size: 14px;
            border-top: 1px solid #e1e5eb;
        }
        
        @media (max-width: 600px) {
            .address-group {
                flex-direction: column;
                gap: 15px;
            }
            
            .radio-options {
                flex-direction: column;
                gap: 12px;
            }
            
            .form-container {
                padding: 20px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>收货人信息</h1>
            <p>请填写准确的收货信息</p>
        </div>
        
        <div class="form-container">
            <form id="shippingForm">
                <div class="form-group">
                    <label for="name">收货人</label>
                    <input type="text" id="name" name="name" placeholder="请输入收货人姓名" required>
                </div>
                
                <div class="form-group">
                    <label for="phone">手机号码</label>
                    <input type="tel" id="phone" name="phone" placeholder="请输入手机号码" required>
                </div>
                
                <div class="form-group address-group">
                    <div class="region">
                        <label for="region">所在地区</label>
                        <input type="text" id="region" name="region" placeholder="省/市/区" required>
                    </div>
                    <div class="detail-address">
                        <label for="address">详细地址</label>
                        <input type="text" id="address" name="address" placeholder="街道、门牌号等" required>
                    </div>
                </div>
                
                <div class="radio-group">
                    <span class="radio-title">标签</span>
                    <div class="radio-options">
                        <label class="radio-option">
                            <input type="radio" name="tag" value="home" checked>
                            <span class="radio-custom"></span>
                            <span class="radio-label">家</span>
                        </label>
                        <label class="radio-option">
                            <input type="radio" name="tag" value="company">
                            <span class="radio-custom"></span>
                            <span class="radio-label">公司</span>
                        </label>
                        <label class="radio-option">
                            <input type="radio" name="tag" value="school">
                            <span class="radio-custom"></span>
                            <span class="radio-label">学校</span>
                        </label>
                    </div>
                </div>
                
                <div class="checkbox-group">
                    <label class="checkbox-option">
                        <input type="checkbox" id="defaultAddress" name="defaultAddress">
                        <span class="checkbox-custom"></span>
                        <span class="checkbox-label">设置为默认地址</span>
                    </label>
                </div>
                
                <button type="submit" class="submit-btn">提交</button>
            </form>
        </div>
        
        <div class="footer">
            <p>我们承诺保护您的个人信息安全</p>
        </div>
    </div>

    <script>
        document.getElementById('shippingForm').addEventListener('submit', function(e) {
            e.preventDefault();
            alert('收货信息提交成功！');
            // 在实际应用中，这里可以添加表单提交逻辑
        });
    </script>
</body>
</html>